import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    yid:[],
    weid:[],
    hszz:[]
  },
  mutations: {
    kk(state){
      state.yid=[]
    },
    alls(state,item){
      state.hszz.push(item)
    },
    //回收站
    hsz(state,item){
        state.hszz.push(item)
    },
    //已读
    yidu(state,item){
      state.yid.push(item)
    },
    //全部已读
    allyd(state,item){
      state.yid.push(item)
    }
  },
  getters: {
  },
  actions: {
  },
  modules: {
  }
})
